//index.js
//获取应用实例
const app = getApp()

Page({
	data: {
		customer:{},
		phones:[],
	},
	onLoad: function() {
		let _this = this;
		wx.getStorage({
		 	key: 'customerInfo',
		  	success: function(res) {
		      	_this.setData({
					customer: res.data,
					phones:res.data.customerPhones.split(",")
				})
		  	} 
		})
	},
})